#JC-1751 added ciclic reference checking