bug fixed for ie