set comment new sub menu for fixing error
set validate for category_type on Category model