fix bug with cash