error in detection of mount directory