fixed a ton of compiler warnings