Fixed the bug where it hangs when I press

acquire without enter. I didn’t check to correct state and that is why
it did not call init properly. the file handle was simply not there.