fixed expire_in() issue #2