Fixed crash on wrong passcodes.