Fix closure around @defaultconfig