fix related post bug