fix for client ensure payment