fixed duplicate predictions