fix for #77 better error message