add the support to no line offset for older version