fixed a bug in define-all.hive.