fixed flux.c