fix bugs caused by profile page change
bug fix