fixed is_mounted checks