fixed minor issues in hriAgent and its configuration