adapt name label rendering