try fix boundary problem