corrected database url facility