fixed for sub cats display issue