fixed write categories menu