some improvements in views