minor cleanup of glob iterator