fix sqlite reference