better error messages

better error messages