added length limit to failure type name