clean before and after rev