views bug fix