improve add point

fixed some bugs with adding new points