Fix bug with building errors list