refresh ref for control directives and assert