bugfix st valid time