fix cakephp var