bug fix: argument checking of funtion
update default config
add bin log comment