added ie compatibility fix