trim the author and created_by_alias before saving