removed window references