got it to render correctly