Fixing symfony class