BRANCH 4.2:
  fixed the LookAhead search issue by setting the name only if it is not None