result bug fix