Avoid noticed that TMP is defined. Can be possibly defined in cake.php