fix clear issue