Fixed warning on compilation