catch exception if failed to find tag range