fixed annoying flicker bug on categoires