Changes errors format