fixed bugs in WeaponTransformer, however this will need to be changed so that the string names are not hard coded