parse variables before rendering widgets