Fix wrong endpoint path