fixed issue with the serializing model instead of the property value