bug: wasn't passing the db name