cleanup ess resizing functions