made reposed v4.* compatible