fix broken relations between authors and posts