fix image centering issue, remove dos EOL characters