fix reload issue and add some file

fix reload will result in crack and add config file