fix app direct bug