TimeLine fixes

sum minor bugs fixed, the runtime error still exists