fix bug with menu