Make ytcd & runClient not panic, update apiport