fix bug of mesh loading