comment out undodir, didnt work anyway