fixed spelling errors in set endpoint_id comments