removing unused endpoint