set config and remove unused path