fixed weapon assignment bug