Fix error for ie8