handle tab at end of line