fix troops bug