line pointer fix