fixes bug where two services had the same name