fixed error where profile page would not show up