remove potential stackOverflow in sample due to bidir relation usage in
toString()