last fixes to renderer