added flux correction callback