Improve the speed of categories change a little.