fix image problems