Fix time unit issue between parser and dom, add more printfs