border partly working