I don't get why this weird pathing keeps happening