simplify error messageg