fix cake.php