Quick fix to remove duplicates, parameter tunings.