fix the regression that  is supposed to lead to issue#10. Thanks git-bisect
integrate bugFix