fix image annotation bug