fixed _listEndpoints, was showing empty entries due to a faulty merge