angular bug fix