smooth the ctrlp's operation