fix on category change