fTools: fix error basic statistics