better parsing of authorID field
better error messaging