fixed bad dbname flag