remove setting endpoint