Fix improper functions (init, ask_passcode)