correction de 2 warning