*reverted sql change