fixed null in gunswitcher