fixed the config issues