fix how to define training payment status