revert cap setup changes