correct collapse problem on menu