Fixed IE8 validation bug