fix renderer struct