Fix autofill AMAP.