fixed bug in related items display