check for duplicate when adding to AP