fixed cluster seq length check bug