schema correction to sword in procs