cleaned up the compiler warning switches