get preload and close working