Adding preload with error