fixed nested context data lookups

also commented out render_text and render_file functions