switch back to root at beginning of build