fixing create_dbs so that skips dbs properly