fixed bug with loader on IE8