Fixed clearConfig