minor update of ar_hmdb code