Improve error messages for list