Merge pull request #321 from smallfish/master

update logic for check ini comments
there is no need to check if b.params is nil
Merge pull request #322 from pengfei-xue/devel

there is no need to check if b.params is nil