revert unwanted mode change