remove unnecessary stuff on config file