extra check on links numbers inconsistencies