rework IE 6 7 8 workaround