fixing collapsing directive