fixed to cope with latest FOSUserBundle