fixed appdir path