preventing to save a plan without at least one plan attribute