passcode patch from cpeterson