check for duplicate

Signed-off-by: bovitobo <bovitobo@yahoo.com>