Remove useless horizontal lines