fix for internet explorer lt 8 and firefox