fix no_matching_work only count when debug