fix for related posts