nasty hack so it works in ie