fixed creation of the service initializer