warn about duplicate entries, fixes #25