don't set undodir or file unless those optiuons exist