fix collapsible behaviour