fix some services declarations