minor rendering fixes