add load application method and bug fixs