scanf in calcv2 is fixed