fix the bug of schema function read mesh structure from external file