better warning message