Fix to make in Symfony 2.0