made error msg more conventional