fix some ie8 bugs