fixed profiles not saving and profiles without options being errored out