fix bad syntax variable
fix cleannup outdated config files in pre-start