reformated renderer source; changed wrapping condition