INT-3460: fix resursive error