Bug de null pointer resolvido