fixed collapsable ref