cleanup old sql stuff