monkey patched to work with bluewhite