don't add duplicate entries to history