Merge pull request #270 from gfiumara/kePrintTempFix

Workaround to not execute undefined functions.