min length check for detection name