fix bug for retrieving the timestamp object