improve some views
fix some bugs about policies