Earlier fix didn't work this is a straight copy from buyweapons