remove 'required' from yaml