cleaning up window/helpers