fixed huge barrage of errors