trying to fix image distortion