fixes for running war