fixing compatiblity with ie