Fix endpoint