constructmodel wasnt working for objects without constructors