add some options and bug fix

add a force reload option and some config value 
add a reset config option and fix some bug