correcting schema error