no idea why that was static... looks like a bug.
fixing hundreds of compiler warnings we have accumulated