Fixed IE 8 compatibility issue