Fixed IE 7 bug