cleaned up weld a bit, it was doing uncessary homo operations