removing old endpoints