fix slow categories