fix bug in AH