Arrumei bug da path finding