fix category endpoint urls