Fixed bug in service configuration