if property in template data is a model, setting it to null will break reset method