fix Tomo_startup for both remote and local