fix problem representing TADs and borders inside models