fixed flavor visualization in the case it is null