issue:7, add to valid max_length