Fixed default value behavior in initProperties.