views duplicated func remove