fixed ie6 and ie10 issue