a few calendar rendering fixes