fixed setconfig