revert deviceReady changes