fix clear passwd/keymap when not set