fixed some public profile bugs