fix calendar page issue