replaced obscure message with real error message