Fixed bugs in the profile-page