Fixing somme warnings