fixed no calendar error