added checks in mount_all