added fallback for sqlite