done Fix bool has_pay