Fix creation of a profile from site.