fix bug on the betroom admin page with flags