revert ksv codes