Removing $window