fix bug and add hive execution