fixed redirection inside services