fixed config dump

raised exception before with pc_query