fix marker range bug