fix image capture