add removeNone function in clicomp