Fix use of enpdoints