fixed cash finally, no more glitches