fixed "TypeError: Cannot read property author_id of null"