revert gpio key changes