potentially fix image rotation issue?