find a bug in fprintf
some progress