Fixed a miscalculation in the struct.