Correcting border styles