hacky patch to fix Openfire