fix errors when there's no options on element when creating new profile type
fix bug when trying to create new profile with multielements