fixed issue with regards to the value being saved for author_id