Fixed calendar full inv bug