add better warning