replace and modify ctrlp