yap: remove unused inreplace