Fixed IE8 problems