only assign a property explicity if it is defined