slightly better error msgs