fix bug with gas_supply