set cash, clear state on leave table