fix bug, for JC.Calendar