use new render syntax (and get rid of annoying deprecation warning).