Fixed preprocessing method createStartUpActionAndRegisterAsOnInitializedEvent