in reply to Getting loopy while appending HoH

Your problem is in the parts you've omitted, see How (Not) To Ask A Question