prepare for different hive factories