added dist/errors to fix #8