use batch_gen tool; fix bad call to self.post (_post)