viewprofile bug fixed