fix expire time bug