improve the defaultview.php