Line graph bugs fixed