compatibility fixes for burp 1.4.x (untested)