fix app_path error