preload and fixes