fix paste board and searching bug