Fix error: template error while templating string: expected token 'end of statement block', got 'defined'