fix SQL checks