removed window-reference.