clean up schema error