fixes some duplicate entries