resolvendo warnings de deprecated