Fix detaching points

Fix detaching points