Sub property fix

When property is empty, the value didn't reset and the previous value was preserved.