manually apply https://github.com/sonata-project/SonataAdminBundle/pull/855