bug fix in stagnation bc