Fixing bug with top level menu