AG: fix duplicate key error