Handle case where authorList is empty string

And a little refactoring