fix weapon bug