bug de loop resolvido