Fixxed buggy layout.php