fix calendar block when there is no params