adding a new field to a resource does not add an empty type anymore