How to remove unwanted vertical & Horizontal lines