fix renderer