Fix for appPath