remove :loop attr to prevent referencing undeclared vars