Made rendercode cleaner