fix reader when some of the mesh don't have any index array