fix bug: do not parse layout's variable