repair calendar rendering