handled broken line when program is 1/x