Fixed views bug