add a fn which remove ppoints from map