update fixture code in order to work with recent version of symfony2