correct erros