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