Fix war generation