use m-p for query-replace