change max_length