newViews and minor bug correction