border cleanup