fix bug in edit tournament controller