display errors better