fix passgen function