fix calendar offset