another minor bug fix in profile page