fixed time stamp issue (scope related)