fixes #2 for the duplicate view