Fix endpoint syntax