- fix generator for  symfony 2.3