fix schema issue