Fix bugs with points delete