fixed bug in loading profile types for profile creation