trying to fix parser bug after symfony2 upgrade