Fix little bug in disk check