restore the original CTP and ORW