addview
bug fix