some hacky logic to filter out address matches