improved error messages in at/lis