better error/warning message