problem with fflush?