improve passcode patterns