fix functions bug:
    print_paragraph_text: return bug
    in_range: should return ->{end}, not start