slighty better error messages