Call clearPropery() earlier in return_properties().