bugfix: pass options to sub generator

fixes #161