fixed FLOPS counting