Fix UserProfile creation