Fix lot of warnings