display err in the collapse