modified the authorname and title logic