set base folder correctly