fixed problems of service creation