fix bug: initializing timestamp with number