remove the old schema code