reduce dependencies AMAP