make sure profile_fields is an array. closes #68