fix KGS's calendar bug