Fix bug in userprofiles models