Bugfix for passcode