trying to fix issue with sqlite