add support for g:render