Error when registering a new profile *fixed*