Correction for the posts' loading function.