fixed duplicate entries