Fix line and column offsets