fixing a couple of small issues with inner rendering