fix check, all-in and out of chips bugs