Fix calendar page bug