correct bug with <?php in view