now checks for null loading posts