remove unused generator