removing endpoint from config