border detection off by default