corrected collapse menu