remove generator