fix bug with sqlite string