- fix partial SQL edit