fixed author login when importing attachments