fixed something stupid i deleted by accident, missed a for loop