Fixed a bug with structdefaultproperties.