save last column position in addition to line