fix image selection