before change plotting and calculating with the offseted flux value