removing endpoints