Some fixes for symfony 2.1.x
Some special changes for JMF site