check preload isset before unsetting