fixes the bug that `{{{facade "undefined"}}}`