some improvements for the views