fix image load switching