fix a double window.back instruction