Fixed non-working endpoint