better error messages for amelia