Bug fix in View render as string