remove spurious boundary