correcting errors on Preload classes