Removing duplicate vodes from the view finction view