fixed thrown exception & add getPropertyType method
update version