fix null cash on gainflow