fix error msgs in graphcalc