fix sql?