config optimization