fixed mount directory check