Categories bug fixed