improve label rendering