Stray thoughts

Q: There is this constant problem with my Intentions when doing good deeds or ibadah for the sake of Allah. I just feel like its all hypocrisy, and it seems I don't want people to recognise me or praise me for the good deeds that I have done, but deep inside I feel another thing. Please can my deeds be still accepted, and how can I cure this illness?