fixed drawing of calendar