fix for duplicate