simulator fix for IE