change url fix to work on all sqlite versions