Fix sqlite creation