move set properties to postProcessBeforeInitialization