fix ie and ff

for ie8,9,10 and firefox