change max length