added support for various hax