fixed input default values, fixed line trig