fixed View.php again by removing "public"