fix runtime config