fixed typo
added compatibility with Symfony v2.0.*