Fixed bugs on profile page