fixed collapse menu problem