fix: sanitize config based on project