fixed bug in renderer when using a prefix