not working: base dir not restored