fix 0 produced