fixed errors in service definition