Fixed broken errors ref