fixed error message throwing