Fix config saving

the Unused test now passes

lambdas are weird, man