add .php to view