improve borders