updated to match latest symfony2 build