plat: sim: refine main entry