fix issues about view and votes
merge