fixed: $key missed; modify expiration time to half day