Fixed IE 8 bug