Use correct config key
remove unused variable