FIX all the compilation warnings