make text border similar