fix up some of the cakefile coding