implement ie workarounds, bugfix