better error messages handling