Fix bug 2783, duplicate problems