Revert "Fix base_dir"

This reverts commit 5c2f738443752bdc876b94868d0b2c4621acacbe.