call applyDefaults
remove unused dependencies