fix for related documents