Fix to work with OpenFire