change base dir