more rendering fixes