fix clear select bug