resolve border issue