bug fix in ie <= 7