patch wrep