trying to fix passcode dialogue