cleans up kpccapi from revert