compile nested references to names in frame properly