Fix on gas update