prune extraneous views