fix gas used