fix image preload