fix app compile error