ensure that we can write escapes that handle refs