fix running pass gen as command