upgraded for symfony 2.3.0