changed constant author to author_id