revert kotlin changes