fix bug where expires is string should be Date