better error messages for less