fix showing problem of calendar