fix invalid argument for bodyblockgen