fix nullpointer on getting the weapon name