fix char encoding, remove horizontal rules