Fix endpoint role