fixed the collapse menu