fix double points issue