Fixed views duplicating in index.php