math/gcalctool: fix