fix AppPath