fix image wrapping