Fixed error with BuildWholeBot