Fix a bug of expiration logic.
Update project file.