remove unused generate calls