fix for syntax error on profile page