fix no conf file exit bug