Fixing disk path check