fix sql again?