Tryin to fix revisit bug