fixed bug in author_tool