Bugfix for detection of create object.