fixed error where intial loopcheck arrays not allocating