fix missing variable wrap