Refactor, saqué un warning