mod to the sword web object constructor