a couple of small fixes in cal