fix get recent post error