removes proxy from parameters, removes environment selector twig template