fix appDir