Fix Genconf command

close #40