Correct version comp + Fixed pmsearch()