modtool: fixed some setup for noblock gen.