how to fix cash in and cash out problem