fix image processor uri detection.