fixed bug in profile page