fannout output length was improperly counted/written