fixed php 5.3 and Symfony 2.3 stuffs