ensure rep is clean