correct error for sqlite