make sqlite work