modified line to absolute position