fixed Symfony 2.3 incompatibility