cleaned up check_generators