fix calendar table