fixed prevNode