Fix profile endpoint