fix app not loaded expeption in 1.7