fixed printing current configuration rather than default.