duplicate fixed, closes #10