minor changes to renderer