Fix profile creation