Fix line offset