prevent double create of appDir