fix image counter.