fix setLoadApplication method