fix bugs can not run application