if prefix exists, it needs to stay in the dbname