admin validation in categories