Fixed bug causing wrong dbUrl