Fixed bug : crashed when property type is class
Fixed bug : crashed when no property is defined