fix bug deadlock after rerange