This is an additional fix for #160
Merge pull request #161 from ivov/fix_render_return_empty_string

This is an additional fix for #160