small fix for troops generator