fixed cakefile bug