add a method to confirm if label needs to go to the next row
fixed bugs.
implement check frame and get last frame
fixed delete a range's bugs.