Fix bug with packaging war