Fix appload's bug.