this is nasty
some ie compat tweaks