Removes unused border