fix get cash bug