Debugged the return function

variable error can’t find gallons fixed