rewrite services output