better output for errors.