fix schema fail