rename base dirs