fix services definition